using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

public class DrawForm : DrawBase
{
    public Text lable;
    // Start is called before the first frame update
    void Start()
    {
        
    }

    public void SetStringItem(string str, string info, int value)
    {
        lable.text = info;
    }

    public void DrawFormItem(Form_ item)
    {
        if(item.lable != null)
           lable.text = item.lable+ item.info;
        else
            lable.text = item.lable + item.info;

        gameObject.SetActive(true);
    }
}
